package net.yuxianghe.chromepool;


/**
 * Created by hxy on 2017/5/21.
 */
public interface DriverPool {

    ChromePool init(int poolSie,int maxAliveTime,String chromeDriverPath);

    ChromeDriverObject getFreeChromeDriver();

    boolean returnChromePool(ChromeDriverObject chromeDriverObject);

    boolean stop();


    boolean haveFreeChromeDriver();

    String getHtml(String url, int waitSecondsTime);



}
